﻿using ASmile.Com.GridView;
using ASmile.DBModel;

namespace ASmile.Com
{
    public interface IGridViewBLL : IBLLCrud<ArgGetList, Sys_GridColumn>
    {
        ApiResultList<Sys_GridColumn> GetColumnInfo(ArgGetList arg);

        ApiResult SetColumnIndex(ArgSetSortNo arg);

        ApiResult SwapOrderNo(ArgSwapOrderNo arg);
    }

    public interface IGridViewBLL_bak //: IBLLCrud<ArgGetList, Sys_GridColumn>
    {
        ApiResult<string> Add(Sys_GridColumn model);
        ApiResult Del(Sys_GridColumn model);
        ApiResult<string> Edit(Sys_GridColumn model);
        ApiResultList<Sys_GridColumn> GetColumnInfo(ArgGetList arg);

        ApiResultList<Sys_GridColumn> GetData(ArgPageData arg);

        ApiResult SetColumnIndex(ArgSetSortNo arg);

        ApiResult SwapOrderNo(ArgSwapOrderNo arg);
    }
}